using System;
using System.Configuration;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

using Open.Data.Persistence.Tools.Properties;

namespace Open.Data.Persistence.Tools
{
    public partial class SelectProviderForm : WizardBaseForm
    {
        private string _provider;

        public SelectProviderForm()
        {
            InitializeComponent();
            
            //Set the provider
            cboProvider.SelectedIndex = 0;
        }

        public string Provider
        {
            get
            {
                return _provider;
            }
        }

        protected override void OnNextClick(object sender, EventArgs e)
        {
            //Set the provider
            _provider = "Open.Data.Persistence.Providers.SqlContext";

            base.OnNextClick(sender, e);
        }
    }
}